package com.ytjj.qmyx.mall.mapper;

import com.ytjj.qmyx.mall.model.HotProduct;
import com.ytjj.qmyx.mall.model.HotProductExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface HotProductMapper {
    long countByExample(HotProductExample example);

    int deleteByExample(HotProductExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(HotProduct record);

    int insertSelective(HotProduct record);

    List<HotProduct> selectByExample(HotProductExample example);

    HotProduct selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") HotProduct record, @Param("example") HotProductExample example);

    int updateByExample(@Param("record") HotProduct record, @Param("example") HotProductExample example);

    int updateByPrimaryKeySelective(HotProduct record);

    int updateByPrimaryKey(HotProduct record);
}